import 'package:flutter/services.dart';

const String _ScreenEventChannelName = "screen_shot_event";

class ScreenShotEvent {
  static const _eventChannel = const EventChannel(_ScreenEventChannelName);
  static Stream<String> imagePath() {
    return _eventChannel
        .receiveBroadcastStream()
        .map((convert) => convert.toString());
  }
}
